package com.mojo.event;

import org.springframework.context.ApplicationListener;

/**
 * 时间处理
 *
 * @author <a href="mailto:sjj@jianzhimao.com">mojo</a>
 * copyright (C), 2013-2021, 广州九尾信息科技有限公司
 * @date 2021/6/19 14:28
 */
public class EventHandler implements ApplicationListener<CustomEvent> {

    @Override
    public void onApplicationEvent(CustomEvent customEvent) {
        //处理事件
        System.out.println(customEvent);
    }
}
